package com.todo.pro.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author ZhongXia
 * @since 2018-08-30
 */
@TableName("td_user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	private Long id;
    /**
     * 用户名称
     */
	@TableField("user_name")
	private String userName;
    /**
     * 用户手机号
     */
	@TableField("user_phone_no")
	private String userPhoneNo;
    /**
     * 用户头像
     */
	@TableField("user_head_pic")
	private String userHeadPic;
    /**
     * 登录密码
     */
	private String password;
    /**
     * 是否可编辑
     */
	@TableField("can_create")
	private Integer canCreate;
    /**
     * 绑定小程序标识
     */
	@TableField("bind_wxmp_flag")
	private Integer bindWxmpFlag;
    /**
     * 绑定微信公众号标识
     */
	@TableField("bind_wxgzh_flag")
	private Integer bindWxgzhFlag;
    /**
     * 完成比率
     */
	@TableField("finish_rate")
	private BigDecimal finishRate;
    /**
     * 注册时间
     */
	@TableField("regist_time")
	private Date registTime;
    /**
     * 最后登录时间
     */
	@TableField("last_login_time")
	private Date lastLoginTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPhoneNo() {
		return userPhoneNo;
	}

	public void setUserPhoneNo(String userPhoneNo) {
		this.userPhoneNo = userPhoneNo;
	}

	public String getUserHeadPic() {
		return userHeadPic;
	}

	public void setUserHeadPic(String userHeadPic) {
		this.userHeadPic = userHeadPic;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getCanCreate() {
		return canCreate;
	}

	public void setCanCreate(Integer canCreate) {
		this.canCreate = canCreate;
	}

	public Integer getBindWxmpFlag() {
		return bindWxmpFlag;
	}

	public void setBindWxmpFlag(Integer bindWxmpFlag) {
		this.bindWxmpFlag = bindWxmpFlag;
	}

	public Integer getBindWxgzhFlag() {
		return bindWxgzhFlag;
	}

	public void setBindWxgzhFlag(Integer bindWxgzhFlag) {
		this.bindWxgzhFlag = bindWxgzhFlag;
	}

	public BigDecimal getFinishRate() {
		return finishRate;
	}

	public void setFinishRate(BigDecimal finishRate) {
		this.finishRate = finishRate;
	}

	public Date getRegistTime() {
		return registTime;
	}

	public void setRegistTime(Date registTime) {
		this.registTime = registTime;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	@Override
	public String toString() {
		return "User{" +
			", id=" + id +
			", userName=" + userName +
			", userPhoneNo=" + userPhoneNo +
			", userHeadPic=" + userHeadPic +
			", password=" + password +
			", canCreate=" + canCreate +
			", bindWxmpFlag=" + bindWxmpFlag +
			", bindWxgzhFlag=" + bindWxgzhFlag +
			", finishRate=" + finishRate +
			", registTime=" + registTime +
			", lastLoginTime=" + lastLoginTime +
			"}";
	}
}
